Ext.define('Platform.user.controller.Init', {
    extend : 'Ext.app.Controller',

    models : [ 'Platform.user.model.User' ],
    views : [ 'Platform.user.view.Grid' ],

    init : function(app) {
	    this.control({
		    'gridpanel' : {
			    'afterrender' : function() {
				    console.log('afterrender');
			    }
		    },
		    'gridpanel gridcolumn' : {
		    	headercontextmenu : function(){
		    		console.log('headercontextmenu');
		    	}
		    }
	    });
	    Ext.create('Platform.view.Viewport');
    }

});